package com.yanqu.road.entity.drugstore;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.DataStatus;

/**
 * @Description 配方榜数据
 * @Author cwq
 * @Data 2022/4/18 11:45
 */
@FieldTypeAnnotation(tableName = "t_u_drug_store_hardcase_rank", desc = "药铺 疑难杂症记录")
public class DrugHardDispenseRankData extends DataObject {

    @FieldTypeAnnotation(desc = "病例id",update = true, select = true)
    private int caseId;

    @FieldTypeAnnotation(desc = "玩家id",update = true, select = true)
    private long userId;

    @FieldTypeAnnotation(desc = "时间 ms")
    private long time;

    public int getCaseId() {
        return caseId;
    }
    public void setCaseId(int caseId) {
        if (this.caseId != caseId) {
            this.caseId = caseId;
            setOp(DataStatus.Update);
        }
    }

    public long getUserId() {
        return userId;
    }
    public void setUserId(long userId) {
        if (this.userId != userId) {
            this.userId = userId;
            setOp(DataStatus.Update);
        }
    }

    public long getTime() {
        return time;
    }
    public void setTime(long time) {
        if (this.time != time) {
            this.time = time;
            setOp(DataStatus.Update);
        }
    }
}
